# frozen_string_literal: true
class CreateEditors < ActiveRecord::Migration[5.0]
  def change
    create_table :editors do |t|
      t.references :village, foreign_key: true
      t.string :name
      t.string :telephone
      t.string :password_digest
      t.string :token

      t.timestamps
    end
  end
end
